Remove uses of strcpy and strncpy from common and x86 code.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 29 Jan 2007 14:59:42 +0000 (14:59 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 29 Jan 2007 14:59:42 +0000 (14:59 +0000)
commita9d66ce46044f8437a39aca8967a526553ac0c6e
tree547fa39b007d124a64a35a9f1ee6a259d8b5a0da
parent80777c3aae7011f0230d5b023fffeda51c4bb136
Remove uses of strcpy and strncpy from common and x86 code.

Retain safe_strcpy(). It can hide the third argument to strlcpy() in
most cases.

Based on patches from Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
16 files changed:
xen/acm/acm_core.c
xen/arch/x86/cpu/common.c
xen/arch/x86/cpu/cyrix.c
xen/arch/x86/cpu/intel.c
xen/arch/x86/dmi_scan.c
xen/arch/x86/domain_build.c
xen/arch/x86/hvm/intercept.c
xen/arch/x86/setup.c
xen/common/kexec.c
xen/common/keyhandler.c
xen/common/libelf/libelf-dominfo.c
xen/common/libelf/libelf-private.h
xen/common/perfc.c
xen/common/rangeset.c
xen/drivers/char/console.c
xen/include/xen/string.h